/**
 *
 * ......................我佛慈悲.......................
 *                       _oo0oo_
 *                      o8888888o
 *                      88" . "88
 *                      (| -_- |)
 *                      0\  =  /0
 *                    ___/`---'\___
 *                  .' \\|     |// '.
 *                 / \\|||  :  |||// \
 *                / _||||| -卍-|||||- \
 *               |   | \\\  -  /// |   |
 *               | \_|  ''\---/''  |_/ |
 *               \  .-\__  '-'  ___/-. /
 *             ___'. .'  /--.--\  `. .'___
 *          ."" '<  `.___\_<|>_/___.' >' "".
 *         | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 *         \  \ `_.   \_ __\ /__ _/   .-` /  /
 *     =====`-.____`.___ \_____/___.-`___.-'=====
 *                       `=---='
 *
 *..................佛祖开光 ,永无BUG....................
 *         CSDN博客:http://blog.csdn.net/song5347
 *       github地址:https://github.com/lingsuiderongyan
 *             邮箱:lingsuiderongyan@163.com
 */

import UIKit

//切换根视图控制器的通知名
let SwitchRootVCNotification = "SwitchRootVCNotification"

//点击表情按钮的通知名
let DidSelectedEmoticonNotification = "DidSelectedEmoticonNotification"

//点击删除表情按钮的通知名
let DidSelectedDeleteEmoticonNotification = "DidSelectedDeleteEmoticonNotification"

//当前屏幕的宽度
let ScreenWidth = UIScreen.mainScreen().bounds.size.width
//当前屏幕的高度
let ScreenHeight = UIScreen.mainScreen().bounds.size.height

//通过随机数返回颜色对象
func RandomColor() -> UIColor {
    
    //颜色取值范围0-255
    let red = random() % 256
    let green = random() % 256
    let blue = random() % 256
    
    return UIColor(red: CGFloat(red) / 255, green: CGFloat(green) / 255, blue: CGFloat(blue) / 255, alpha: 1)
    
}
















